﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GetQuote.Master" AutoEventWireup="true" CodeBehind="Manufacturers.aspx.cs" Inherits="GetQuote.Web.Manufacturers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
    $(document).ready(function () {
        $("a.edit").live("click", function () {
            $("#title-popup-manu").text("Edit Manufacturer");
            $("#popupAddManufacturers").modal('show');
            return false;
        });
        $("a.delete").live("click", function () {
            if (!confirm("Do you really want to delete this Manufacturer?")) {
                return false;
            }
            return false;
        });
        $("#linkAddManufacture").click(function () {
            $("#title-popup-manu").text("Add Manufacturer");
            $("#popupAddManufacturers").modal('show');
            return false;
        });
    });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h3>Manufacturers</h3>
    <div class="row" id="search-box">
        <div class="span4">
            <div class="input-append">
                <input type="text" class="span3" id="txtKeyword" placeholder="Keyword..."/>
                <button type="button" class="btn">Search</button>
            </div>
        </div>
        <div class="span3">
            <a href="#" id="linkAddManufacture" class="btn btn-primary">Add Manufacturers</a>
        </div>
    </div>
<div id="manufacturers-list">
    <ul class="thumbnails">
        <li class="span4">
            <div class="thumbnail">
                <table class="tbBox">
                    <tr>
                        <td class="tdImg"><a href="Products.aspx"><img src="Images/Manufacturers/logo_hunterdouglas.png" class="img-polaroid box-img" alt="" /></a></td>
                        <td>
                            <table class="tbContent">
                                <tr>
                                    <td class="box-title"><a href="Products.aspx">Hunter Douglas</a></td>
                                    <td class="box-option">
                                        <div class="dropdown">
                                            <a title="Options" class="dropdown-toggle" data-toggle="dropdown" data-target="#"><img src="Styles/Images/icon-down.png" alt="" /></a>
                                            <ul class="dropdown-menu">
                                                <li><a class="edit"><i class="icon-edit"></i> Edit</a></li>
                                                <li><a class="delete"><i class="icon-trash"></i> Delete</a></li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="box-content">
                                            Hunter Douglas is the world market leader in window coverings and a major manufacturer of architectural products.
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </li>
        <li class="span4">
            <div class="thumbnail">
                <table class="tbBox">
                    <tr>
                        <td class="tdImg"><a href="Products.aspx"><img src="Images/Manufacturers/logo_vista.png" class="img-polaroid box-img" alt="" /></a></td>
                        <td>
                            <table class="tbContent">
                                <tr>
                                    <td class="box-title"><a href="Products.aspx">Vista Products</a></td>
                                    <td class="box-option">
                                        <div class="dropdown">
                                            <a title="Options" class="dropdown-toggle" data-toggle="dropdown" data-target="#"><img src="Styles/Images/icon-down.png" alt="" /></a>
                                            <ul class="dropdown-menu">
                                                <li><a class="edit"><i class="icon-edit"></i> Edit</a></li>
                                                <li><a class="delete"><i class="icon-trash"></i> Delete</a></li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="box-content">
                                            ...
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </li>
        <li class="span4">
            <div class="thumbnail">
                <table class="tbBox">
                    <tr>
                        <td class="tdImg"><a href="Products.aspx"><img src="Images/Manufacturers/logo_comfortex.png" class="img-polaroid box-img" alt="" /></a></td>
                        <td>
                            <table class="tbContent">
                                <tr>
                                    <td class="box-title"><a href="Products.aspx">Comfortex Window Fashions</a></td>
                                    <td class="box-option">
                                        <div class="dropdown">
                                            <a title="Options" class="dropdown-toggle" data-toggle="dropdown" data-target="#"><img src="Styles/Images/icon-down.png" alt="" /></a>
                                            <ul class="dropdown-menu">
                                                <li><a class="edit"><i class="icon-edit"></i> Edit</a></li>
                                                <li><a class="delete"><i class="icon-trash"></i> Delete</a></li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="box-content">
                                            test
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td ></td>
                    </tr>
                </table>
            </div>
        </li>
        <li class="span4">
            <div class="thumbnail">
                <table class="tbBox">
                    <tr>
                        <td class="tdImg"><a href="Products.aspx"><img src="Images/Manufacturers/logo_graber.png" class="img-polaroid box-img" alt="" /></a></td>
                        <td>
                            <table class="tbContent">
                                <tr>
                                    <td class="box-title"><a href="Products.aspx">Graber Blinds</a></td>
                                    <td class="box-option">
                                        <div class="dropdown">
                                            <a title="Options" class="dropdown-toggle" data-toggle="dropdown" data-target="#"><img src="Styles/Images/icon-down.png" alt="" /></a>
                                            <ul class="dropdown-menu">
                                                <li><a class="edit"><i class="icon-edit"></i> Edit</a></li>
                                                <li><a class="delete"><i class="icon-trash"></i> Delete</a></li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="box-content">
                                            test
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </li>
        <li class="span4">
            <div class="thumbnail">
                <table class="tbBox">
                    <tr>
                        <td class="tdImg"><a href="Products.aspx"><img src="Images/Manufacturers/logo_horizons.png" class="img-polaroid box-img" alt="" /></a></td>
                        <td>
                            <table class="tbContent">
                                <tr>
                                    <td class="box-title"><a href="Products.aspx">Horizons Window Fashions</a></td>
                                    <td class="box-option">
                                        <div class="dropdown">
                                            <a title="Options" class="dropdown-toggle" data-toggle="dropdown" data-target="#"><img src="Styles/Images/icon-down.png" alt="" /></a>
                                            <ul class="dropdown-menu">
                                                <li><a class="edit"><i class="icon-edit"></i> Edit</a></li>
                                                <li><a class="delete"><i class="icon-trash"></i> Delete</a></li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="box-content">
                                            test
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </li>
        <li class="span4">
            <div class="thumbnail">
                <table class="tbBox">
                    <tr>
                        <td class="tdImg"><a href="Products.aspx"><img src="Styles/Images/no-image.png" class="img-polaroid box-img" alt="" /></a></td>
                        <td>
                            <table class="tbContent">
                                <tr>
                                    <td class="box-title"><a href="Products.aspx">Elegant Blinds Inc.</a></td>
                                    <td class="box-option">
                                        <div class="dropdown">
                                            <a title="Options" class="dropdown-toggle" data-toggle="dropdown" data-target="#"><img src="Styles/Images/icon-down.png" alt="" /></a>
                                            <ul class="dropdown-menu">
                                                <li><a class="edit"><i class="icon-edit"></i> Edit</a></li>
                                                <li><a class="delete"><i class="icon-trash"></i> Delete</a></li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="box-content">
                                            test
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </li>
    </ul>
</div>
<div id="popupAddManufacturers" class="modal hide fade" tabindex="-1">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="title-popup-manu">Add Manufacturers</h3>
    </div>
    <div class="modal-body">
        <table class="full-width" cellspacing="2" cellpadding="2">
            <tr>
                <td style="width:110px;">Name:</td>
                <td><input type="text" style=" width:50%;" /></td>
            </tr>
            <tr>
                <td>Logo:</td>
                <td>
                    <img class="logo-manu-detail img-polaroid" alt="logo" src="Images/Manufacturers/logo_kirsch.png" /><br />
                    
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input id="uplLogo" type="file" /></td>
            </tr>
            <tr>
                <td style="vertical-align:top">Description:</td>
                <td><textarea id="txtDescription" cols="20" rows="2" style=" width:98%; height:50px;"></textarea></td>
            </tr>
        </table>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" data-dismiss="modal" >Save</button>
        <button class="btn" data-dismiss="modal">Close</button>
    </div>
</div>
</asp:Content>
